<?php
/**
 * @file sidebar1.php(左侧边栏)
 * @package inews-v2
 */
?>
<h3>快速搜索栏</h3>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>

<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1)): ?>

<h3>热门标签排行</h3>
<?php wp_tag_cloud('smallest=12&largest=12&unit=px&number=15&format=list&orderby=count&order=DESC'); ?>

<h3>历史文章索引</h3>
<ul><?php wp_get_archives('type=monthly'); ?></ul>

<h3>友情链接</h3>
<ul><?php get_links(2, '<li>', '</li>', '', TRUE, 'id', FALSE); ?></ul>

<?php endif; ?>